<?php
include_once dirname(__FILE__)."/../lang/error.php";
include_once dirname(__FILE__)."/../io/rows.php";
include_once dirname(__FILE__)."/../io/db.php";
class log extends rows{
 	function init(){
 		$this->tableName="sn_log".date("N");
 		$this->col["logid"]   = new column("logid",dataCheck::INTEGER);
 		$this->col["logurl"] = new column("logurl",dataCheck::STRING|dataCheck::NOTNULL);
 		$this->col["loguid"]   = new column("loguid",dataCheck::INTEGER);
 		$this->col["logreplace"] = new column("logreplace",dataCheck::STRING|dataCheck::NOTNULL);
 		$this->col["logvalue"] = new column("logvalue",dataCheck::STRING|dataCheck::NOTNULL);
 		$this->col["logtime"]  = new column("logtime",dataCheck::INTEGER);
 	}  
 }
